#include<stdio.h>
#include<stdlib.h>

int main()
{
	setbuf(stdout, NULL);
	
	//region 指针测试
	int num = 1;
	int *p = &num;
	int **pp = &p;
	int ***ppp = &pp;
	
	printf("num value: %d \n", num);
	
	printf("num address: %x \n", &num);
	
	printf("p value: %x \n", p);
	
	printf("p address: %x \n", &p);
	
	printf("pp value: %x \n", pp);
	
	printf("pp address: %x \n", &pp);
	
	printf("ppp value: %x \n", ppp);
	
	printf("ppp address: %x \n", &ppp);
	//endregion
	
	int arr[] = {0,1,2,3,4};
	printf("arr length: %d \n", sizeof(arr)/sizeof(int));
    return 0;
}